<?php

require_once APPPATH."/controllers/BasePriv.php";
require_once APPPATH."/libraries/phpqrcode/phpqrcode.php";
require_once APPPATH."/libraries/aws/aws-autoloader.php";
require_once APPPATH."/libraries/Tools.php";
use Aws\S3\S3Client;
class Material extends BasePriv
{
    public function __construct()
    {
        parent::__construct();
        $this->load->helper(array('form', "url"));
//        $this->load->model("Qmjs_statistics_model", "table");
    }

    /**
     * 添加原始素材
     */
    public function add_material(){
        $this->layout("/material/material/add_material");
    }

    public function index(){
        $data['type']=1;
        $this->layout("material/material/index",$data);
    }

    public function join(){
        $data['type']=2;
        $this->layout("material/material/join",$data);
    }

    public function drop(){
        $data['type']=3;
        $this->layout("material/material/drop",$data);
    }
}